import React, { Component } from 'react'
import styles  from './goodslist.module.scss'
export default class Goodslist extends Component {
    render() {
        return (
            <div className={styles.listbox}>
                {
                    this.props.img.map(v=>{
                   return   (    <div className={styles.imgbox} key={v.img_id}>
                        <img src={v.img_url} alt=""/>
                    <p> {v.img_name}</p>
                        <span>￥389.5</span>
                    </div>)
                    })
                }
            
                
            </div>
        )
    }
}
